package com.usian.service;

import com.usian.pojo.TbUser;

import java.util.Map;

/**
 * @Author lpf
 * @Date 2022/3/26 下午12:11
 * @ProjectName java134-e-commerce-project
 * @Version 1.0
 * @Description:
 */
public interface SSOService {

    Boolean checkUserInfo(String checkValue, Integer checkFlag);

    Integer userRegister(TbUser tbUser);

    Map userLogin(String username, String password);

    TbUser getUserByToken(String token);

    Boolean logout(String token);
}
